<template>
  <div>
    <input
      type="checkbox"
      :checked="item.completed"
      @click="todoCheck(item.id)"
    />
    12
  </div>
</template>

<script>
export default {
  name: "Todocheck",

  data() {
    return {};
  },
  props: ["item"],
  mounted() {},

  methods: {
    todoCheck(id) {
      this.$emit("todoCheck", id);
    },
  },
};
</script>

<style lang="scss" scoped>
</style>